const router = require('koa-router')()
const {
  userRepos,
  userStarred
} = require('../controllers/user')

router.prefix('/v1')

router.get('/user/repos', userRepos)
router.get('/user/starred', userStarred)

module.exports = router